adduser --quiet \
                --system \
                --disabled-password \
                --home /var/git \
                --no-create-home \
                --shell /bin/false \ 
                git
case "$1" in
    configure)
        mysql -e "CREATE USER IF NOT EXISTS 'git'@'localhost' IDENTIFIED VIA unix_socket;"
	mysql -e "CREATE DATABASE IF NOT EXISTS gogs CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;"
   ;;
...
esac
